package abcy.cloud.syscoreserver.services;

import abcy.cloud.syscoreserver.dto.req.SysPermissionAddReqDto;
import abcy.cloud.syscoreserver.dto.req.SysPermissionsSelectReqDto;
import abcy.cloud.syscoreserver.dto.req.SysRolePermissionAddReqDto;
import abcy.cloud.syscoreserver.dto.resp.SysPermissionSelectRespDto;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

public interface SysPermissionService {

    PageInfo<SysPermissionSelectRespDto> getPermissionsForPage(SysPermissionsSelectReqDto sysPermissionsSelectReqDto);

    void addPermission(SysPermissionAddReqDto sysPermissionAddReqDto);

    Map<String, Object> selectPermissionByConditions(Map<String, Object> map);


}
